package com.carrot.mq.common;

import com.carrot.mq.mqserver.core.BasicProperties;

import java.io.Serializable;

/**
 * @author 兴趣使然黄小黄
 * @version 1.0
 * @date 2023/8/28 20:19
 * 服务器返回消息给客户端
 */
public class SubScribeReturns extends BasicReturns implements Serializable {

    private String consumerTag;

    private BasicProperties basicProperties;

    private byte[] body;

    public String getConsumerTag() {
        return consumerTag;
    }

    public void setConsumerTag(String consumerTag) {
        this.consumerTag = consumerTag;
    }

    public BasicProperties getBasicProperties() {
        return basicProperties;
    }

    public void setBasicProperties(BasicProperties basicProperties) {
        this.basicProperties = basicProperties;
    }

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }
}
